import { $axios } from '@/utils/http';

// 获取进账表
export async function getAllPayouts(params?: RecordItem) {
  return $axios.request({
    url: 'http://localhost:8090/dyh/payouts/getAllPayouts',
    method: 'GET',
    params,
  });
}

// 获取首页折线图数据
export async function getLine(params?: RecordItem) {
  return $axios.request({
    url: 'http://localhost:8090/dyh/payouts/getLine',
    method: 'GET',
    params,
  });
}
